<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>怎么回事呢？</title>
    <link rel="icon" href="https://sr.mihoyo.com/favicon.ico" />
</head>
<body>

<div id="t">
</div>
<div id="main">
    <span class="text">404 Not Found</span>
    <div style="height: 1rem"></div>
    <span class="text">请求页面不存在、已被删除或无法访问</span>
</div>
</body>

<script>

    url = window.location.origin
    document.getElementById('t').style.backgroundImage = 'url(' + url + '/static/img/404.jpg)'

</script>

<style>

    *{margin: 0;padding: 0}

    #t{
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0.5;
        background-size: cover;
    }

    #main{
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        width: 30rem;
        height: 60px;
    }

    .text{
        display: block;
        width: 100%;
        text-align: center;
        font-size: 1.5rem;
    }
</style>

</html>